location

abstract fun location(vec: V): Location(source)

Determine the location of a point with respect to this line.

The location can be:

  • Location.PLUS: The point is on the positive side of the line.

  • Location.MINUS: The point is on the negative side of the line.

  • Location.ON: The point is exactly on the line.

Return

The location of the point with respect to the line.

Parameters

vec

The point to check.